package com.harvey.coding.lambda.cart;

public class SkuIsElectronicCategoryPredicate implements SkuPredicate{
    @Override
    public boolean test(Sku sku) {
        if (SkuCategoryEnum.ELECTRONICS == sku.getSkuCategory()) {
            return true;
        }else {
            return false;
        }
    }
}
